package com.atguigu.gulimall.seckill.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Classname SeckillProductFeignService
 * @Description TODO
 * @Date 2021/10/25 11:22
 * @Author Anonymous
 */
@FeignClient("gulimall-product")
public interface SeckillProductFeignService {

    /**
     * 根据商品id获取商品详细信息
     */
    /**
     * 信息
     */
    @RequestMapping("/product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);

}
